//
//  SearchResultModel.h
//  quxiangtao
//
//  Created by xbmios on 2018/10/9.
//  Copyright © 2018年 shanhaijin. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SearchResultModel : NSObject

// 淘宝、天猫搜索返回
@property (copy, nonatomic) NSString *category_id;
@property (copy, nonatomic) NSString *category_name;
@property (copy, nonatomic) NSString *commission_rate;
@property (copy, nonatomic) NSString *commission_type;
@property (copy, nonatomic) NSString *coupon_end_time;
@property (copy, nonatomic) NSString *coupon_id;
@property (copy, nonatomic) NSString *coupon_info;
@property (copy, nonatomic) NSString *coupon_remain_count;
@property (copy, nonatomic) NSString *coupon_share_url;
@property (copy, nonatomic) NSString *coupon_start_time;
@property (copy, nonatomic) NSString *coupon_total_count;
@property (copy, nonatomic) NSString *include_dxjh;
@property (copy, nonatomic) NSString *include_mkt;
@property (copy, nonatomic) NSString *info_dxjh;
@property (copy, nonatomic) NSString *item_url;
@property (copy, nonatomic) NSString *level_one_category_id;
@property (copy, nonatomic) NSString *level_one_category_name;
@property (copy, nonatomic) NSString *num_iid;
@property (copy, nonatomic) NSString *pict_url;
@property (copy, nonatomic) NSString *provcity;
@property (copy, nonatomic) NSString *reserve_price;
@property (copy, nonatomic) NSString *seller_id;
@property (copy, nonatomic) NSString *shop_dsr;
@property (copy, nonatomic) NSString *shop_title;
@property (copy, nonatomic) NSString *short_title;
@property (strong, nonatomic) NSDictionary *small_images;
@property (copy, nonatomic) NSString *title;
@property (copy, nonatomic) NSString *tk_total_commi;
@property (copy, nonatomic) NSString *tk_total_sales;
@property (copy, nonatomic) NSString *url;
@property (copy, nonatomic) NSString *user_type;
@property (copy, nonatomic) NSString *volume;
@property (copy, nonatomic) NSString *white_image;
@property (copy, nonatomic) NSString *zk_final_price;
@property (copy, nonatomic) NSString *goods_price;
@property (copy, nonatomic) NSString *coupon_click_url;
@property (copy, nonatomic) NSString *click_url;


// 自营返回结果
@property (copy, nonatomic) NSString *id;
@property (copy, nonatomic) NSString *dintegral;

/**
 搜索结果模型

 @param page 分页
 @param type 搜索类型  1 淘宝搜索 2 自营搜索
 @param searchStr 搜索关键词
 */
+ (void)searchResultModelWithPage:(NSInteger)page andType:(NSInteger)type searchText:(NSString *)searchStr sort_Id:(NSString *)sort_Id successBlock:(HttpRequestSuccess)successBlock failBlock:(HttpRequestFailed)failBlock;

@end

NS_ASSUME_NONNULL_END
